﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PayloadTracker.VOR
{
    public class VORManager
    {
        static VORManager m_Instance = null;
        public static VORManager Instance
        {
            get
            {
                if (m_Instance == null)
                    m_Instance = new VORManager();
                return m_Instance;
            }
        }

        VORCollection m_VORs;
        public VORCollection VORs { get { return m_VORs; } }

        private VORManager()
        {
            m_VORs = VORCollection.Load(Settings.Default["VORFile"] as string);
        }
    }
}
